package IntermediaryPattern;

public class Demo {
    public static void main(String[] args) {
        PostOffice postOffice=new PostOfficeImpl();
        She she=new She(postOffice,"亚洲");
        You you=new You(postOffice,"美洲");
        postOffice.addPeople(she);
        postOffice.addPeople(you);
        you.sendLetter("正月十五，一见倾心","She");
        she.sendLetter("应约","you");
    }
}
